package com.joolun.mall.express.code;

import com.joolun.mall.express.IServiceCodeStandard;
import com.joolun.mall.express.PrePathEnum;

public enum EPSServiceCodeEnum implements IServiceCodeStandard {
    COM_RECE_EPS_ORDER("COM_RECE_EPS_ORDER", "EPS.1.COM_RECE_EPS_ORDER.json"),
    COM_RECE_EPS_SEARCH_ROUTES("COM_RECE_EPS_SEARCH_ROUTES", "EPS.2.COM_RECE_EPS_SEARCH_ROUTES.json"),
    COM_RECE_EPS_ORDER_UPDTE("COM_RECE_EPS_ORDER_UPDTE", "EPS.3.COM_RECE_EPS_ORDER_UPDTE.json"),
    COM_RECE_EPS_SEARCH_ORDER_RESP("COM_RECE_EPS_SEARCH_ORDER_RESP", "EPS.4.COM_RECE_EPS_SEARCH_ORDER_RESP.json"),
    COM_RECE_EPS_QUERY_SFWAYBILL("COM_RECE_EPS_QUERY_SFWAYBILL", "EPS.5.COM_RECE_EPS_QUERY_SFWAYBILL.json");

    private String code;
    private String path;

    private EPSServiceCodeEnum(String code, String path) {
        this.code = code;
        this.path = path;
    }

    public String getPath() {
        return PrePathEnum.EPS_PATH.getPath() + this.path;
    }

    public String getCode() {
        return this.code;
    }
}

